package com.integral.system.position.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.integral.system.position.dao.CfgPositionIntegralDao;
import com.integral.system.position.domain.CfgPositionIntegralDo;
import com.integral.system.position.service.CfgPositionIntegralService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CfgPositionIntegralServiceImpl extends ServiceImpl<CfgPositionIntegralDao, CfgPositionIntegralDo> implements CfgPositionIntegralService {
    @Autowired
    private CfgPositionIntegralDao roleDao;
    @Override
    public List<String> getRolesByUser(String userNo) {
        return roleDao.getRolesByUser(userNo);
    }
}
